// 导入common样式@import
@import "common";
body{
    min-width: 320px;
    width: 15rem;
    margin: 0 auto;
    line-height: 1.5;
    font-family:  Arial,Helvetica;
    background: #F2F2F2;
    height: 2000px;
}
@baseFont: 50;
// 搜索模块
.search_content{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: (88rem / @baseFont);
    background-color: #ffc001;
    .classify{
        width: (44rem / @baseFont);
        height: (70rem / @baseFont);
        margin: (11rem / @baseFont) (25rem / @baseFont) (7rem / @baseFont) (24rem / @baseFont);
        background: url(../images/classify.png) no-repeat;
        background-size: (44rem / @baseFont) (70rem / @baseFont);
    }
    .search{
        position: relative;
        flex: 1;
        input{
            position: absolute;
            height: (66rem / @baseFont);
            width: 100%;
            border-radius: (33rem / @baseFont);
            background-color: #fff2cc;
            border: 0;
            margin-top: (12rem / @baseFont);
            font-size: (25rem / @baseFont);
            padding-left: (55rem / @baseFont);
            color: gray;
            outline: none;
        }
    }
    .login{
        width: (75rem / @baseFont);
        height: (70rem / @baseFont);
        margin: (10rem / @baseFont);
        font-size: (25rem / @baseFont);
        text-align: center;
        line-height: (70rem / @baseFont);
        color: white;
    }
}
// 焦点图
.banner{
    width: (750rem / @baseFont);
    height: (368rem / @baseFont);
    img{
        width: 100%;
        height: 100%;
    }
}
// 广告
.ad{
    display: flex;
    a{
        flex: 1;
        img{
            width: 100%;
            height: 100%;
        }
    }
    
}
// 购物导航
nav{
    width: (750rem / @baseFont);
    a{
        float: left;
        width: (150rem / @baseFont);
        height: (140rem / @baseFont);
        text-align: center;
        img{
            display: block;
            width: (82rem / @baseFont);
            height: (78rem / @baseFont);
            margin: (10rem / @baseFont) auto 0;
        }
        .text{
            display: block;
            color: black;
            font-size: (25rem / @baseFont);
        }
    }
}
// 省钱购
.savemoney{
    display: flex;
    width: (750rem / @baseFont);
    a{
        display: block;
        float: left;
    }
    a:nth-child(1){
        flex: 50%;
        width: (375em / @baseFont);
        height: (234rem /@baseFont);
    }
    a:nth-child(1) img{
        display: block;
        width: 100%;
        width: 100%;
    }
    a:nth-child(n+2){
        flex: 25%;
        width: (187.5rem / @baseFont);
        height: (234rem /@baseFont);
    }
    a:nth-child(n+2) img{
        display: block;
        width: 100%;
        height: 100%;
    }
    a:nth-child(3) img{
        padding-left: (3rem / @baseFont);
    }
}
// 底部导航模块
.info_list{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: (750rem / @baseFont);
    // height: (56rem / @baseFont);
    background-color: white;
    a{
        float: left;
        width: (150rem / @baseFont);
        text-align: center;
        img{
            display: block;
            width: (48rem / @baseFont);
            height: (48rem / @baseFont);
            margin: (12rem / @baseFont) auto 0;
        }
        .textinfo{
            display: block;
            font-size: (16rem / @baseFont);
            color: white;
        }
        
    }
    :nth-child(1) .textinfo{
        color: black;
        font-weight: 700;
    }
    :nth-child(n+2) .textinfo{
        color: gray;
    }
}